package com.situ.project1.service;

import com.situ.project1.pojo.Car;
import com.situ.project1.pojo.search.CarSearchModel;
import com.situ.project1.util.PaginateInfo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/10
 */
public interface CarService {
    List<Car> findAll(PaginateInfo pi, CarSearchModel car);

    boolean add(Car car);

    boolean update(Car car);

    boolean delete(Integer[] ids);

    List<Car> findRest();

    List<Car> findRestCar(LocalDateTime startTime, LocalDateTime endTime);
}
